package com.gz.springboot.mybatisplus;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//如果不再dao里面的mapper设置@Mapper,那么就要用@MapperScan进行扫描
//@MapperScan(basePackages = {"com.gz.springboot.mybatisplus.dao"})
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
